import { request } from '@/utils/request';
import CRUD from '@/utils/request/CRUD';

// 部门CRUD
export const deptCRUD = CRUD('/system/dept');

// 获取精简部门列表
export function getSimpleDeptList() {
  return request.get({
    url: '/system/dept/simple-list',
  });
}

// 获取公司列表
export function getCompanyList() {
  return request.get({
    url: '/system/dept/getCompanyList',
  });
}
